
#ifndef _DoorLockKit_AES
#define _DoorLockKit_AES

/*
  * Aes加密
  * unsigned char *_in  待加密字符指针
  * int _length         待加密字符长度
  * unsigned char *_out 加密后字符指针
  */
int aesEncrypt(char *_in, int _length, char *_out, char *_key);
/*
  * Aes解密
  * unsigned char *_in  待解密字符指针
  * int _length         待解密字符长度
  * unsigned char *_out 解密后字符指针
  */
int aesDecrypt(char *_in, int _length, char *_out, char *_key);

#endif